package com.example.administrator.myapplication.com.hnevc.lirihui;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.example.administrator.myapplication.MainActivity;
import com.example.administrator.myapplication.R;

/**
 * Created by Administrator on 2021/1/2.
 */

public class LoginActivity extends AppCompatActivity {

    private View dr_bt;

    protected void OnCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        initView();
        initDate();
        initEvent();
    }




    private void initDate() {

    }

    private void initView() {
        dr_bt = findViewById(R.id.dr_bt);

            }
            private void initEvent() {   dr_bt.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    Intent intent = new Intent(LoginActivity.this,MainActivity.class);
            }
        });
    }

    }

